package router

import (
	"center-platform/internal/controller/v1/comment"
	"center-platform/middleware"
	"github.com/gin-gonic/gin"
)

func RegisterCommentRouter(r *gin.Engine) {
	var group = r.Group("/v1/comment")
	group.Use(middleware.AuthMiddleware())
	group.GET("list", comment.List)
	group.POST("add", comment.Add)
}
